#-------------------------------------------------
#
# Project created by QtCreator 2014-08-15T14:34:50
#
#-------------------------------------------------

QT       += core gui sql network
CONFIG   += serialport
#greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = pcaptest
TEMPLATE = app

SOURCES += main.cpp\
    iconhelper.cpp \
    frmmessagebox.cpp \
    mainwindow.cpp \
    udp.cpp \
    totaldataprocess.cpp \
    stdafx.cpp \
    scl_reader.cpp \
    qpixeltool.cpp \
    projectdb.cpp \
    pages.cpp \
    clickedLabel.cpp \
    cappacket.cpp \
    tcpserver.cpp \
    F_WCPage.cpp \
    F_clnp.cpp \
    F_recvthread.cpp \
    key.cpp \
    keyboard.cpp

HEADERS  += \
    iconhelper.h \
    frmmessagebox.h \
    myhelper.h \
    mainwindow.h \
    udp.h \
    totaldataprocess.h \
    stdafx.h \
    scl_reader.h \
    qpixeltool.h \
    projectdb.h \
    pages.h \
    clickedLabel.h \
    cappacket.h \
    tcpserver.h \
    F_WCPage.h \
    F_clnp.h \
    F_recvthread.h \
    key.h \
    keyboard.h

FORMS    += \
    frmmessagebox.ui \
    mainwindow.ui
#if defined(__arm__)
    INCLUDEPATH +=/usr/local/pcap1.3/include
#endif


win32{
    INCLUDEPATH += $$PWD/../../../../../../Qt/WpdPack_4_1_2/WpdPack/Include
    LIBS += -L$$PWD/../../../../../../Qt/WpdPack_4_1_2/WpdPack/Lib/ -lwpcap
}

!win32{
    LIBS    +=-lpcap
}

MOC_DIR=temp/moc
RCC_DIR=temp/rcc
UI_DIR=temp/ui
OBJECTS_DIR=temp/obj
#DESTDIR=bin

#win32:RC_FILE=main.rc

RESOURCES += \
    rc.qrc
